const bookmodel = require('./data/model/bookModel');

// 参数1：查询条件
// bookmodel.deleteOne({price:49.9})
// .then(val=>{
//     console.log(val);
// })

// 批量删除
bookmodel.deleteMany({name:"西游记"})
.then(val=>{
    console.log(val);
})